package com.gss.entity.sys.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gss.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author DYang
 * @date 2023/5/31
 */
@ApiModel("系统菜单")
@Data
@TableName("sys_menu")
public class SysMenu extends BaseEntity {

    @ApiModelProperty("自增长id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("菜单类型（0: 菜单 1:按钮）")
    private Integer menuType;

    @ApiModelProperty("菜单路径,层级之间使用冒号分割:")
    private String route;

    @ApiModelProperty("页面路由路径")
    private String url;

    @ApiModelProperty("菜单图标")
    private String menuIcon;

}
